home *** CD-ROM | disk | FTP | other *** search
/ Hot Metal Pro 4.0 / Hot Metal Pro 4.0.iso / Special / text / dispopts.txt < prev    next >
Encoding:
Text File  |  1997-11-17  |  4.8 KB  |  141 lines

  1.  
  2. 12. Setting Editor display options
  3.  
  4.  
  5.  
  6. The display styles in the HoTMetaL PRO Editor document
  7. window were chosen to correspond to typical browser
  8. display. You can modify these display styles to suit
  9. your own preferences for working in the Editor:  this
  10. will not affect how browsers format the document. Only
  11. the HTML markup or a cascading style sheet affects how
  12. a document looks in a browser.
  13.  
  14. Because HTML files are structured documents, setting
  15. a style for an element means setting it for all elements
  16. of that type. 
  17.  
  18. To modify display options:
  19.  
  20. * Put the insertion point inside any instance of the
  21. element whose display styles you want to modify.
  22.  
  23. * Do one of:
  24.  
  25. 1. Choose Display Options... in the Tools menu, and
  26. then choose the Modify... sub-item.
  27.  
  28. 2. Press [Ctrl+Shift+B].
  29.  
  30. 12.1. Modifying element display options
  31.  
  32. You can set the following styles from the Display Options
  33. dialog box: 
  34.  
  35. * Elements can be of two format types: block or inline.
  36. Block elements start and end on a separate line from
  37. adjacent content. Inline (or character) elements are
  38. not set off from adjacent text. All of the styles listed
  39. here can be applied to block elements; only font properties
  40. and color can be applied to character elements. 
  41.  
  42. * Font properties - Font name, font size, font style.
  43.  
  44. If you select the Toggle  font style, the other style
  45. settings are turned off in the current element if they
  46. are turned on in the containing element. For example,
  47. an element whose font style is set to Bold and Toggle
  48. will appear as bold text within plain surrounding text
  49. and as plain within bold surrounding text.
  50.  
  51. * Paragraph styles - Alignment, line height, and fill
  52. mode. (Fill mode determines how line end characters
  53. are treated--in fill mode, they are displayed as a space,
  54. but in no fill mode they cause a line break.)
  55.  
  56. * Space before and after - You can add space to the
  57. top and bottom of elements in order to set them off
  58. from surrounding elements.
  59.  
  60. * Indentation - You can choose right, left, and first
  61. indents for elements. By choosing the right and left
  62. indent, you can set the line length for the element.
  63.  
  64. * Color - You can choose the foreground (text) and background
  65. colors for an element.
  66.  
  67. Values and units
  68.  
  69. Numerical values used in the Display Options dialog
  70. box can be absolute, relative (+/-), or expressed as
  71. a percentage of a base value. The following units can
  72. be used: points (1/72 inch), centimeters, inches, machine
  73. units (1/16 point), millimeters, picas (1/6 inch), and
  74. pixels (same as points). 
  75.  
  76. You can use any unit wherever you are allowed to enter
  77. values. For example, font size may be expressed in points,
  78. inches, picas, etc. 
  79.  
  80.  Units can be specified by giving the full unit name,
  81. or the first few letters of the unit name, as long as
  82. that is unambiguous (for example, don't use `p' since
  83. that could mean `points' or `picas'). In addition, `cm'
  84. and `mm' specify centimeters and millimeters, respectively.
  85. If you don't specify a unit, HoTMetaL PRO will interpret
  86. the value as points by default.
  87.  
  88. The value Adopt Current means `inherit this style from
  89. the element that contains the current element'.
  90.  
  91. 12.2. Saving and loading element display options
  92.  
  93.  HoTMetaL PRO saves the formatting set with the Display
  94. Options command in a binary styles file called hmpro4.stl
  95. in the Display folder. HoTMetaL PRO gets default display
  96. options from this file. Whenever a document is saved,
  97. this file is updated with whatever display options are
  98. in effect for the document. You can also save and load
  99. display options in a text file.
  100.  
  101.  To save display options in a text file:
  102.  
  103. * Set the desired display options in the current document.
  104.  
  105. * Choose Display Options... in the Tools menu, and then
  106. choose the Save... sub-item.
  107.  
  108. NOTE: The formatting information from a text-format
  109. options file will not be saved in the default (binary)
  110. styles file until the current document is saved. 
  111.  
  112.  To load a text-format display options file:
  113.  
  114. * Choose Display Options... from the Tools menu, and
  115. then choose the Load... sub-item. You can switch display
  116. options in the middle of a HoTMetaL PRO session by loading
  117. a new text-format options file with this command.
  118.  
  119. Alternative display options
  120.  
  121. HoTMetaL PRO has several preformatted display options
  122. files (in text format) to choose from. Included are
  123. the following options files, which you can load from
  124. the Display folder:
  125.  
  126. * hmpro4.asf - The default options.
  127.  
  128. * lynx.asf - Mimics the default style of the text-based
  129. Web browser, Lynx.
  130.  
  131. * mosaic.asf - Mimics the default style of the NCSA
  132. and Spry Mosaic Web browsers.
  133.  
  134. * showall.asf - Shows almost all attributes. This is
  135. a useful options file for advanced users who want to
  136. see all attributes on screen.
  137.  
  138. * colorize.asf - A colorful options file, in which almost
  139. every element has a different color.
  140.  
  141.